package org.chim.springcloud.gatewayzuul.rule;

import com.mop.springcloud.corebase.ribbon.rule.LabelZoneAvoidanceRule;
import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Class Name: LoadbalanceRule
 * Create Date: 18-3-12 下午5:49
 * Creator: Chim·Zigui
 * Version: v1.0
 * Updater:
 * Date Time:
 * Description:
 */
@Configuration
public class LoadbalanceRule {

    @Bean
    public IRule ribbonRule() {
        return new LabelZoneAvoidanceRule();
    }

}
